package com.yxinsur.imc.business.excel;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yxinsur.imc.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class BrokerTemplate implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @Excel(name = "序号*", cellType = Excel.ColumnType.NUMERIC, prompt = "数据行请保证序号不为空")
    private String index;

    @Excel(name = "团队*", prompt = "必填信息")
    private String teamName;

    /**
     * 姓名
     */
    @Excel(name = "姓名*", prompt = "必填信息")
    private String fullName;

    /**
     * 工号-机构内唯一
     */
    @Excel(name = "工号*", prompt = "必填信息,确保机构内唯一")
    private String brokerCode;

    //@Excel(name = "推荐人姓名")
    private String relationName;

    //@Excel(name = "推荐人工号")
    private String relationCode;

    /**
     * 证件类型
     */
    @Excel(name = "证件类型*", comboDicType = "certi_type", dictType = "certi_type")
    private String certiType;

    /**
     * 证件号
     */
    @Excel(name = "证件号*")
    private String certiCode;

    /**
     * 性别
     */
    @Excel(name = "性别*", dictType = "sys_user_sex", combo = "男,女,未知", readConverterExp = "0=男,1=女,2=未知")
    private String gender;

    /**
     * 生日
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 15, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /**
     * 移动电话
     */
    @Excel(name = "移动电话*", prompt = "必填信息")
    private String phone;

    /**
     * 详细地址
     */
    @Excel(name = "详细地址")
    private String address;

    /**
     * 代理人执业证号
     */
    @Excel(name = "代理人执业证号*", width = 30, prompt = "必填信息")
    private String quafNo;

    /**
     * 分红万能险资质
     */
    @Excel(name = "分红万能险资质", width = 30)
    private String ucoverNo;

    /**
     * 民族
     */
    @Excel(name = "民族", comboDicType = "nation", dictType = "nation")
    private String nation;

    /**
     * 婚姻状况
     */
    @Excel(name = "婚姻状况", comboDicType = "marital_status", dictType = "marital_status")
    private String maritalStatus;

    /**
     * 政治面貌
     */
    @Excel(name = "政治面貌", comboDicType = "political_status", dictType = "political_status")
    private String politicalStatus;

    /**
     * 最高学历
     */
    @Excel(name = "最高学历", comboDicType = "education", dictType = "education")
    private String highestEdu;

    /**
     * 毕业院校
     */
    @Excel(name = "毕业院校")
    private String graduateSchool;

    /**
     * 开户行
     */
    @Excel(name = "开户行", comboDicType = "bank_info", dictType = "bank_info")
    private String accountBank;

    /**
     * 银行卡号
     */
    @Excel(name = "银行卡号")
    private String bankAccount;

    /**
     * 入职日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职日期 *", width = 30, dateFormat = "yyyy-MM-dd")
    private Date employDate;

    /**
     * 离职日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离职日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leaveDate;

    /**
     * 离职原因
     */
    @Excel(name = "离职原因")
    private String leaveCause;

    /**
     * 保单继承人broker_id
     */
    //@Excel(name = "保单继承人broker_id")
    private Long orderHeirId;

    /**
     * 担保人姓名
     */
    @Excel(name = "担保人姓名")
    private String suretyName;

    /**
     * 担保人身份证
     */
    @Excel(name = "担保人身份证")
    private String suretyCertiCode;

    /**
     * 担保人联系电话
     */
    @Excel(name = "担保人联系电话")
    private String suretyPhone;

    /**
     * 担保人联系地址
     */
    @Excel(name = "担保人联系地址")
    private String suretyAddress;

    /**
     * 紧急联系人
     */
    @Excel(name = "紧急联系人")
    private String urgentContactsName;

    /**
     * 紧急联系电话
     */
    @Excel(name = "紧急联系电话")
    private String urgentContactsPhone;

    /**
     * 紧急联系人关系
     */
    @Excel(name = "紧急联系人关系")
    private String urgentContactsRelation;

}
